package dp.gr03.payroll.classificationTransaction;

import dp.gr03.payroll.generalTransactions.ChangeEmployeeTransaction;
import dp.gr03.payroll.payrollDomain.Employee;
import dp.gr03.payroll.payrollDomain.PaymentClassification;
import dp.gr03.payroll.payrollDomain.PaymentSchedule;

public abstract class ChangeClassificationTransaction extends ChangeEmployeeTransaction
{

    public ChangeClassificationTransaction(int empId)
    {
        super(empId);
    }
    
    public void change(Employee e)
    {
        e.setPaymentClassification(getPaymentClassification());
        e.setPaymentSchedule(getPaymentSchedule());
    }

    public abstract PaymentClassification getPaymentClassification();

    public abstract PaymentSchedule getPaymentSchedule();
}
